package com.sjf.batch;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan("com.sjf.batch.mapper")
@EnableAsync
public class BatchApplication {

    public static void main(String[] args) {
        System.setProperty ("es.set.netty.runtime.available.processors" , "false");
        SpringApplication.run (BatchApplication.class , args);
    }

}
